import axios from '@/libs/axios'

//工厂搜索
export const factorySearch = params => { return axios.post('api/produce/factorySearch', params).then(res => res.data)};
//工厂预排--列表
export const factoryPreList = params => { return axios.post('api/produce/factoryPreList', params).then(res => res.data)};
//工厂预排--设置
export const factoryPreSave = params => { return axios.post('api/produce/factoryPreSave', params).then(res => res.data)};
//工厂列表
export const factoryList = params => { return axios.post('api/produce/factoryList', params).then(res => res.data)};
//工厂--启用、禁用
export const factoryOpen = params => { return axios.post('api/produce/factoryOpen', params).then(res => res.data)};
//工厂--推送
export const factoryPush = params => { return axios.post('api/produce/factoryPush', params).then(res => res.data)};
//工厂--保存
export const factorySave = params => { return axios.post('api/produce/factorySave', params).then(res => res.data)};
//工厂--开通e签宝
export const factoryOpenEqb = params => { return axios.post('api/produce/factoryOpenEqb', params).then(res => res.data)};
